# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=maui-station
_pkgname=station
pkgver=2.2.2
pkgrel=2
pkgdesc='Convergent terminal emulator'
url='https://mauikit.org/'
arch=(loong64 x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing mauikit-terminal hicolor-icon-theme)
makedepends=(extra-cmake-modules)
groups=(maui)
source=(https://download.kde.org/stable/maui/$_pkgname/$pkgver/$_pkgname-$pkgver.tar.xz)
sha256sums=('4ba7c25252dc05257c812e120fc2627b1c1f406d8b189caf1e3481b9e4347aeb')

build() {
  cmake -B build -S $_pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
